import socket

server=socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
ip_port=('127.0.0.1',8888)
server.bind(ip_port)
while True:
    data=server.recv(1024)
    print(data.decode(encoding='utf-8'))
